-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: format codebase with Prettier #227
Conversation
Introduce a CI check that the codebase is properly formatted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of unified code formatting, and the default configuration suggested by Prettier looks good to me.
I would suggest only removing the following line from thepull_request_template.md
, as it is checked by CI for now:
I did not introduce unrelated formatting/whitespace changes in the code base
@byakuren-hijiri thanks! [if only there was a way to automatically check all the other bullet points, lol] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
"Live and learn and break CI" :)
and introduce a CI check that the codebase is properly formatted
Closes #226
Everything is the default, except I kept the 4 spaces indentation level for TS and JS files (see
.editorconfig
) and excluded the auto-generated and vendored files that are not in.gitignore
, which Prettier ignores as well (see.prettierignore
).